<?php

namespace backend\models\site;

use Yii;

/**
 * This is the model class for table "{{%edu_admin_log}}".
 *
 * @property integer $log_id
 * @property integer $log_addtime
 * @property integer $admin_id
 * @property string $log_info
 * @property string $ip_address
 * @property integer $log_type
 */
class AdminLogForm extends \yii\base\Model
{
	public $log_type;
	public $endDateTime;
	public $startDateTime;
	public $user_name;
	public $log_info;
    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['log_type'], 'integer'],
			[['startDateTime'], 'string'],
			[['endDateTime'], 'string'],
			[['log_info'], 'string', 'max' => 255],
			[['user_name'], 'string', 'max' => 200],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'log_type' => 'Log Type',
			'startDateTime' => 'start DateTime',
			'endDateTime' => 'end DateTime',
	        'user_name' => 'User Name',
			'log_info' => 'Log Info',
        ];
    }
}
